#ifndef __OC_ZipUtil_H__
#define __OC_ZipUtil_H__

#include "FileUtil.h"

namespace OCPP
{
    class _MainExport ZipUtil
    {
    public:
        static String gzipCompress(const String& data);
        static String gzipCompress(const char* data, const size_t ndata);
        static bool compress(std::ostream& fout, const String& src);

        static String gzipDecompress(const String& data);
        static String gzipDecompress(const char* data, const size_t ndata);
        static void unzip(String fileName,String path = "");
    };
}

#endif
